package cn.yougou.vo;

import java.io.Serializable;

/**
 *  用于接收前端商品列表排序参数
 */
public class YgCommodityOrderByVo implements Serializable {

    /**
     * 商品二级id
     */
    private Integer categoryId;

    /**
     * 以何种方式排序  1：销量排序（默认高到低） 2 ：价格排序
     */
    private Integer orderBy;

    /**
     * 按照价格排序  1：从低到高  2：从高到低
     */
    private Integer priceOrder;

    /**
     * 删除逻辑
     */
    private Integer deleted;

    public YgCommodityOrderByVo() {
    }

    public YgCommodityOrderByVo(Integer categoryId, Integer orderBy, Integer priceOrder) {
        this.categoryId = categoryId;
        this.orderBy = orderBy;
        this.priceOrder = priceOrder;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getPriceOrder() {
        return priceOrder;
    }

    public void setPriceOrder(Integer priceOrder) {
        this.priceOrder = priceOrder;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(Integer orderBy) {
        this.orderBy = orderBy;
    }
}
